home *** CD-ROM | disk | FTP | other *** search
Wrap
ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss((((3333GGGG)))) NNNNAAAAMMMMEEEE ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss - render primitives from array data CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN void ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss( GLenum _m_o_d_e, GLint _f_i_r_s_t, GLsizei _c_o_u_n_t ) PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS _m_o_d_e Specifies what kind of primitives to render. Symbolic constants GGGGLLLL____PPPPOOOOIIIINNNNTTTTSSSS, GGGGLLLL____LLLLIIIINNNNEEEE____SSSSTTTTRRRRIIIIPPPP, GGGGLLLL____LLLLIIIINNNNEEEE____LLLLOOOOOOOOPPPP, GGGGLLLL____LLLLIIIINNNNEEEESSSS, GGGGLLLL____TTTTRRRRIIIIAAAANNNNGGGGLLLLEEEE____SSSSTTTTRRRRIIIIPPPP, GGGGLLLL____TTTTRRRRIIIIAAAANNNNGGGGLLLLEEEE____FFFFAAAANNNN, GGGGLLLL____TTTTRRRRIIIIAAAANNNNGGGGLLLLEEEESSSS, GGGGLLLL____QQQQUUUUAAAADDDD____SSSSTTTTRRRRIIIIPPPP, GGGGLLLL____QQQQUUUUAAAADDDDSSSS, and GGGGLLLL____PPPPOOOOLLLLYYYYGGGGOOOONNNN are accepted. _f_i_r_s_t Specifies the starting index in the enabled arrays. _c_o_u_n_t Specifies the number of indices to be rendered. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss specifies multiple geometric primitives with very few subroutine calls. Instead of calling a GL procedure to pass each individual vertex, normal, texture coordinate, edge flag, or color, you can prespecify separate arrays of vertices, normals, and colors and use them to construct a sequence of primitives with a single call to ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss. When ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss is called, it uses _c_o_u_n_t sequential elements from each enabled array to construct a sequence of geometric primitives, beginning with element _f_i_r_s_t. _m_o_d_e specifies what kind of primitives are constructed, and how the array elements construct those primitives. If GGGGLLLL____VVVVEEEERRRRTTTTEEEEXXXX____AAAARRRRRRRRAAAAYYYY is not enabled, no geometric primitives are generated. Vertex attributes that are modified by ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss have an unspecified value after ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss returns. For example, if GGGGLLLL____CCCCOOOOLLLLOOOORRRR____AAAARRRRRRRRAAAAYYYY is enabled, the value of the current color is undefined after ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss executes. Attributes that aren't modified remain well defined. NNNNOOOOTTTTEEEESSSS ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss is available only if the GL version is 1.1 or greater. ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss is included in display lists. If ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss is entered into a display list, the necessary array data (determined by the array pointers and enables) is also entered into the display list. Because the array pointers and enables are client-side state, their values affect display lists when the lists are created, not when the lists are executed. PPPPaaaaggggeeee 1111 ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss((((3333GGGG)))) ERRORS GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _m_o_d_e is not an accepted value. GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE is generated if _c_o_u_n_t is negative. GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss is executed between the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding ggggllllEEEEnnnndddd. SSSSEEEEEEEE AAAALLLLSSSSOOOO ggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt, ggggllllCCCCoooolllloooorrrrPPPPooooiiiinnnntttteeeerrrr, ggggllllDDDDrrrraaaawwwwEEEElllleeeemmmmeeeennnnttttssss, ggggllllDDDDrrrraaaawwwwRRRRaaaannnnggggeeeeEEEElllleeeemmmmeeeennnnttttssss, ggggllllEEEEddddggggeeeeFFFFllllaaaaggggPPPPooooiiiinnnntttteeeerrrr, ggggllllGGGGeeeettttPPPPooooiiiinnnntttteeeerrrrvvvv, ggggllllIIIInnnnddddeeeexxxxPPPPooooiiiinnnntttteeeerrrr, ggggllllIIIInnnntttteeeerrrrlllleeeeaaaavvvveeeeddddAAAArrrrrrrraaaayyyyssss, ggggllllNNNNoooorrrrmmmmaaaallllPPPPooooiiiinnnntttteeeerrrr, ggggllllTTTTeeeexxxxCCCCoooooooorrrrddddPPPPooooiiiinnnntttteeeerrrr, ggggllllVVVVeeeerrrrtttteeeexxxxPPPPooooiiiinnnntttteeeerrrr PPPPaaaaggggeeee 2222